withConstantDelay

fun <T> withConstantDelay(block: () -> Promise<T>, retries: Int = 3, delayMillis: Double): Promise<T>

Retries block with a fixed delay between attempts.